#pragma once
#include <so_math.h>
class IRotation
{
private:
    real angleVelocity, facing;
public:
    IRotation(real angleVelocity = 0, real facing = 0);
    ~IRotation() = default;
    real getAngleVelocity();
    real getFacing();
    void setAngleVelocity(real angleVelocity);
    void setFacing(real facing);
    real rotateTo(real delta,real targetFacing);
};